﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Runtime;




namespace DTO
{

    [DataContract]
    public class HoSoDaiLyDTO
    {
        #region Attributes
        private String _maHoSoDaiLy;
        private String _tenDaiLy;
        private String _dienThoai;
        private String _diaChi;
        private String _maQuan;
        private DateTime _ngayTiepNhan;
        private String _eMail;
        private float _tienNo;
        private String _maLoaiDaiLy;
        #endregion

        #region Default Constructer
        public HoSoDaiLyDTO()
        {
            _maHoSoDaiLy = String.Empty;
            _tenDaiLy = String.Empty;
            _dienThoai = String.Empty;
            _diaChi = String.Empty;
            _maQuan = String.Empty;
            _ngayTiepNhan = DateTime.Today;
            _eMail = String.Empty;
            _tienNo = 0.0f;
            _maLoaiDaiLy = String.Empty;



        }
        #endregion

        #region Properties
        [DataMember]
        public String MaHoSoDaiLy
        {
            get { return _maHoSoDaiLy; }
            set { this._maHoSoDaiLy = value; }

        }
        [DataMember]
        public String TenDaiLy
        {
            get { return _tenDaiLy; }
            set { this._tenDaiLy = value; }

        }
        [DataMember]
        public String DienThoai
        {
            get { return _dienThoai; }
            set { this._dienThoai = value; }
        }
        [DataMember]
        public String DiaChi
        {
            get { return _diaChi; }
            set { this._diaChi = value; }

        }
        [DataMember]
        public String MaQuan
        {

            get { return _maQuan; }
            set { this._maQuan = value; }

        }
        [DataMember]
        public DateTime NgayTiepNhan
        {
            get { return _ngayTiepNhan; }
            set { this._ngayTiepNhan = value; }

        }
        [DataMember]
        public String EMail
        {
            get { return _eMail; }
            set { this._eMail = value; }

        }
        [DataMember]
        public float TienNo
        {
            get { return _tienNo; }
            set { this._tienNo = value; }
        }
        [DataMember]
        public String MaLoaiDaiLy
        {
            get { return _maLoaiDaiLy; }
            set { this._maLoaiDaiLy = value; }
        }

        #endregion
    }
}
